﻿using System;

namespace Streambolics.Tablet
{
    /// <summary>
    ///     The Event Arguments sent by an InkAdapter to handle
    ///     ink recognition.
    /// </summary>

    public class InkAnalysisEventArgs : EventArgs
    {
        private string _Interpretation;
        private bool _Interpreted;

        public InkAnalysisEventArgs (string aInterpretations)
        {
            _Interpretation = aInterpretations;
        }

        /// <summary>
        ///     The proposed interpretation.
        /// </summary>

        public string Interpretation
        {
            get
            {
                return _Interpretation;
            }
        }

        /// <summary>
        ///     Whether the target accepted the interpretation.
        /// </summary>

        public bool Accepted
        {
            get
            {
                return _Interpreted;
            }
            set
            {
                _Interpreted = value;
            }
        }
    }
}
